Return to start page

Core/Maths/Library Item.j

Code

		
1			library ALibraryCoreMathsItem requires ALibraryCoreMathsHandle
2
3 /// Doesn't create locations.
4 function SetItemPolarProjectionPosition takes item usedItem, real angle, real distance returns nothing
5 local real x = GetItemPolarProjectionX(usedItem, angle, distance)
6 local real y = GetItemPolarProjectionY(usedItem, angle, distance)
7 call SetItemPosition(usedItem, x, y)
8 endfunction
9
10 endlibrary